/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.isp.violate.service;

import za.ac.cput.isp.violate.Bank;

/**
 *
 * @author Jameel
 */
public class BankImpl implements Bank {

    private String name;
    private String surame;
    private String address;
    private String DOB;
    private int age;
    private double balance;
    private double withdraw;
    private double deposit;
    
    @Override
    public void deposit(double dep) {
        balance += deposit;
    }

    @Override
    public void withdraw(double draw) {
        balance -= withdraw;
    }

    @Override
    public double balance() {
        return balance;
    }

    @Override
    public void details(String name, String surname, String DOB, int Age, String Address) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void setBal(double depBal) {
        balance = depBal;
    }
    
}
